package com.jinke.api.modules.ums.vo;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class TreeNode {

    private Integer id;
    private String title;
    private boolean isLeaf;
    private List<TreeNode> children;
    public TreeNode(Integer id, String title) {
        this.id = id;
        this.title = title;
        this.children = new ArrayList<>();
    }

}
